package study.d_09_02;

import java.util.Scanner;

public class practice2 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请录入一个票号 ");
        int ticket=sc.nextInt();
        //if的嵌套
        if(ticket>=0 && ticket<=100){
            if(ticket%2==1){
                System.out.println("坐左边");
            }
            else{
                System.out.println("坐右边");
            }
        }
    }
}
